package com.core.zyyz.amc.modules.domain;

import java.util.Date;

import com.core.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.core.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 节点配置对象 amc_project_node
 *
 * @author LiuFushun
 * @date 2024-11-20
 */
public class AmcProjectNode extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 节点id */
    private String nodeId;

    /** 节点代码 */
    @Excel(name = "节点代码")
    private String nodeCode;

    /** 节点名称 */
    @Excel(name = "节点名称")
    private String nodeName;

    /** 节点顺序 */
    @Excel(name = "节点顺序")
    private Long nodeSeq;

    /** 节点对应的业务表名 */
    @Excel(name = "节点对应的业务表名")
    private String nodeTableName;

    /** 是否启用，1-是，0-否 */
    @Excel(name = "是否启用，1-是，0-否")
    private String enabled;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String lastModifiedBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastModifiedDate;

    public void setNodeId(String nodeId)
    {
        this.nodeId = nodeId;
    }

    public String getNodeId()
    {
        return nodeId;
    }
    public void setNodeCode(String nodeCode)
    {
        this.nodeCode = nodeCode;
    }

    public String getNodeCode()
    {
        return nodeCode;
    }
    public void setNodeName(String nodeName)
    {
        this.nodeName = nodeName;
    }

    public String getNodeName()
    {
        return nodeName;
    }
    public void setNodeSeq(Long nodeSeq)
    {
        this.nodeSeq = nodeSeq;
    }

    public Long getNodeSeq()
    {
        return nodeSeq;
    }
    public void setNodeTableName(String nodeTableName)
    {
        this.nodeTableName = nodeTableName;
    }

    public String getNodeTableName()
    {
        return nodeTableName;
    }
    public void setEnabled(String enabled)
    {
        this.enabled = enabled;
    }

    public String getEnabled()
    {
        return enabled;
    }
    public void setCreatedBy(String createdBy)
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy()
    {
        return createdBy;
    }
    public void setCreatedDate(Date createdDate)
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate()
    {
        return createdDate;
    }
    public void setLastModifiedBy(String lastModifiedBy)
    {
        this.lastModifiedBy = lastModifiedBy;
    }

    public String getLastModifiedBy()
    {
        return lastModifiedBy;
    }
    public void setLastModifiedDate(Date lastModifiedDate)
    {
        this.lastModifiedDate = lastModifiedDate;
    }

    public Date getLastModifiedDate()
    {
        return lastModifiedDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("nodeId", getNodeId())
                .append("nodeCode", getNodeCode())
                .append("nodeName", getNodeName())
                .append("nodeSeq", getNodeSeq())
                .append("nodeTableName", getNodeTableName())
                .append("enabled", getEnabled())
                .append("createdBy", getCreatedBy())
                .append("createdDate", getCreatedDate())
                .append("lastModifiedBy", getLastModifiedBy())
                .append("lastModifiedDate", getLastModifiedDate())
                .toString();
    }
}
